package calculator;

public class DevideOperator implements Operator {

	@Override
	public double getResult(double n1, double n2) throws Exception {
		if(n2==0){
			throw new Exception("daa");
		}
		return n1/n2;
	}

}
